package news.dao;

import news.example.News;

import java.util.List;

public interface IQueryNewsDao {
    List<News> findAll();

    int calcTotalCount();

    void delNews(Integer id);
}
